<include file="Public:header" />

<!--content--> 



<div class="m2ban bgImg">

        <img src="__PUBLIC__/default/images/m2ban1.jpg" id="ctl00_ContentPlaceHolder1_banner" />

        <div class="m2banTxt wow fadeIn" data-wow-delay="0.2s">Relix products</div>

    </div>

    <div id="ctl00_ContentPlaceHolder1_site" class="m2menuBox">

            <?php
                $r = M('category')->where(['pid'=>2])->order('orderid asc')->select();
            ?>

            <volist name="r" id="vo">
                <a href="<{:U('product/index',['cid'=>$vo['id']])}>" class="m2menu_a on"><{$vo.classname}> </a>
            </volist>

    </div>

    <div class="m2pos">

        <div class="container clearfix">

            <span class="m2posNm"><a class="cor_666" href="/">Home</a> - <a class="cor_666">Relix Products</a></span>

        </div>

    </div>

        <div id="l_body">

            <div id="l_left" >

                    <?php
                        $r = M('category')->where(['pid'=>2])->order('orderid asc')->select();
                    ?>
                <div class="l_menu">    
                    <ul>
                    <volist name="r" id="vo">
                        <li>
                        <a href="javascript:;" class="m2menu_a on yi"><{$vo.classname}> </a>

                        
                        <?php
                            $map['path'] = ['like',$vo['path'].'%'];
                            $san_cate = M('content')->where($map)->select();
                        ?>
                            <ul style="display:none">    
                            <volist name="san_cate" id="voo">
                                <li>
                                <a href="<{:U('product/detail',['id'=>$voo['id']])}>" class="m2menu_a on er" >|--<{$voo.title}> </a>
                                </li>

                            </volist>
                            </ul>
                        </li>
                    </volist>
                    </ul>
                </div>

            </div>
            
            <div id="l_right">
    
                <volist name="list" id="vo">
                <div class="m2proBox autoMaxImg">

                    <div class="container clearfix">

                        <div class="m2proImgBox">

                            <img src="<{$vo.picurl}>">

                        </div>

                        <ul class="m2proList">

                            

                                    <li>

                                        <a href="<{:U('product/detail',['id'=>$vo['id']])}>" class="m2pro_aBox">

                                            <div class="m2pro_t1"><{$vo.title}> </div>

                                            <div class="m2proDes">

                                                <{$vo.description}>

                                            </div>

                                            <span class="m2pro_more transition">Learn More</span>

                                        </a>

                                    </li>
                            

                        </ul>

                    </div>

                </div>

                </volist>
            </div>

        </div>

        
        <div style="clear:both;"></div>
            
        
<script type="text/javascript">
    $(function () {
       
        $(".l_menu ul li").click(function(){
            var thisSpan=$(this);
            thisSpan.removeClass("cur");
            //$(".l_menu ul li ul").prev("a").removeClass("cur");
            //$(this).prev("a").addClass("cur");
            $(this).children("ul").slideDown("fast");
            $(this).siblings().children("ul").slideUp("fast");
        })
    });
</script>
            




<!-- content -->

<include file="Public:footer" />

 


